﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QLTV_Public;
using QLTV_Data;

namespace QLTV_BLL
{
   public class NhaXuatBan_BLL
    {
       NhaXuatBan_Data nxb = new NhaXuatBan_Data();
       public DataTable LayDuLieu()
       {
           return nxb.LayDuLieu();
       }
       public int insert_nhaXuatBan(NhaXuatBan_Public tenNXB, NhaXuatBan_Public diaChi, NhaXuatBan_Public sodt, NhaXuatBan_Public fax, NhaXuatBan_Public email, NhaXuatBan_Public ghiChu)
       {
          return nxb.insert_NhaXuatBan(tenNXB, diaChi, sodt, fax, email, ghiChu);
       }
       public int update_nhaXuatBan(NhaXuatBan_Public maNhaXB,NhaXuatBan_Public tenNXB, NhaXuatBan_Public diaChi, NhaXuatBan_Public sodt, NhaXuatBan_Public fax, NhaXuatBan_Public email, NhaXuatBan_Public ghiChu)
       {
           return nxb.update_NhaXuatBan(maNhaXB, tenNXB, diaChi, sodt, fax, email, ghiChu);
       }
       public int delete_nhaXuatBan(NhaXuatBan_Public maNXB)
       {
           return nxb.delete_NhaXuatBan(maNXB);
       }
    }
}
